ICanBoogie
  • Documentation
  • API Reference
  • ActiveRecord v2.3.0
Namespaces
  • ICanBoogie
    • ActiveRecord
      • Driver
Classes
  • ActiveRecordCacheBase
  • BelongsToRelation
  • Connection
  • ConnectionCollection
  • ConnectionOptions
  • DateTimePropertySupport
  • HasManyRelation
  • Helpers
  • Model
  • ModelCollection
  • Query
  • Relation
  • RelationCollection
  • RelationNotDefined
  • RuntimeActiveRecordCache
  • Schema
  • SchemaColumn
  • Statement
  • Table
Interfaces
  • ActiveRecordCache
  • Driver
  • Exception
Traits
  • CreatedAtProperty
  • DateProperty
  • DateTimeProperty
  • FinishAtProperty
  • FinishedAtProperty
  • StartAtProperty
  • StartedAtProperty
  • UpdatedAtProperty
Exceptions
  • ActiveRecordClassNotValid
  • ConnectionAlreadyEstablished
  • ConnectionNotDefined
  • ConnectionNotEstablished
  • DriverNotDefined
  • ModelAlreadyInstantiated
  • ModelNotDefined
  • RecordNotFound
  • ScopeNotDefined
  • StatementInvocationFailed
  • StatementNotValid
  • UnableToSetFetchMode

Class ConnectionAlreadyEstablished

Exception thrown in attempt to set the definition of an already established connection.

Exception implements Throwable
┗ LogicException
┗ ICanBoogie\ActiveRecord\ConnectionAlreadyEstablished implements ICanBoogie\ActiveRecord\Exception uses ICanBoogie\Accessor\AccessorTrait (not available)
Namespace: ICanBoogie\ActiveRecord
Located at ActiveRecord/ConnectionAlreadyEstablished.php

Methods summary

protected get_id( void ) : string

Returns

string
public __construct( string $id, integer $code = 500, ICanBoogie\ActiveRecord\Exception $previous = null )

Parameters

$id
$code
$previous

Overrides

Exception::__construct
protected format_message( string $id ) : string

Formats exception message.

Formats exception message.

Parameters

$id

Returns

string

Methods inherited from Exception

__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Properties summary

Properties inherited from Exception

$code, $file, $line, $message

Magic properties

public read-only $id : string

The identifier of the connection.

ActiveRecord v2.3.0 – Check on GitHub – API documentation generated by ApiGen