Doctrine


Doctrine\ORM\Mapping\Driver\Driver
/Doctrine/ORM/Mapping/Driver/Driver.php at line 36

Interface Driver

Driver

public interface Driver

Contract for metadata drivers.

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.com
Since:
2.0
Version:
$Revision: 1393 $
Author:
Jonathan H. Wage
Todo:
Rename: MetadataDriver

Method Summary
array

getAllClassNames()

Gets the names of all mapped classes known to this driver.

boolean

isTransient(string className)

Whether the class with the specified name should have its metadata loaded.

void

loadMetadataForClass(string className, ClassMetadataInfo metadata)

Loads the metadata for the specified class into the provided container.

Method Detail

/Doctrine/ORM/Mapping/Driver/Driver.php at line 51

getAllClassNames

public array getAllClassNames()

Gets the names of all mapped classes known to this driver.

Returns:
The names of all mapped classes known to this driver.

/Doctrine/ORM/Mapping/Driver/Driver.php at line 61

isTransient

public boolean isTransient(string className)

Whether the class with the specified name should have its metadata loaded. This is only the case if it is either mapped as an Entity or a MappedSuperclass.


/Doctrine/ORM/Mapping/Driver/Driver.php at line 44

loadMetadataForClass

public void loadMetadataForClass(string className, ClassMetadataInfo metadata)

Loads the metadata for the specified class into the provided container.


Doctrine