diff --git a/core/lib/Drupal/Component/Archiver/ArchiverInterface.php b/core/lib/Drupal/Component/Archiver/ArchiverInterface.php index 3b2dc28..96d9992 100644 --- a/core/lib/Drupal/Component/Archiver/ArchiverInterface.php +++ b/core/lib/Drupal/Component/Archiver/ArchiverInterface.php @@ -13,18 +13,6 @@ interface ArchiverInterface { /** - * Constructs a new archiver instance. - * - * @param string $file_path - * The full system path of the archive to manipulate. Only local files - * are supported. If the file does not yet exist, it will be created if - * appropriate. - * - * @throws Drupal\Component\Archiver\ArchiverException - */ - public function __construct($file_path); - - /** * Adds the specified file or directory to the archive. * * @param string $file_path diff --git a/core/lib/Drupal/Component/Archiver/Tar.php b/core/lib/Drupal/Component/Archiver/Tar.php index 8b5ebda..f06f3e0 100644 --- a/core/lib/Drupal/Component/Archiver/Tar.php +++ b/core/lib/Drupal/Component/Archiver/Tar.php @@ -21,6 +21,13 @@ /** * Constructs a Tar object. + * + * @param string $file_path + * The full system path of the archive to manipulate. Only local files + * are supported. If the file does not yet exist, it will be created if + * appropriate. + * + * @throws Drupal\Component\Archiver\ArchiverException */ public function __construct($file_path) { $this->tar = new ArchiveTar($file_path); diff --git a/core/lib/Drupal/Component/Archiver/Zip.php b/core/lib/Drupal/Component/Archiver/Zip.php index 47bfb67..3f0a066 100644 --- a/core/lib/Drupal/Component/Archiver/Zip.php +++ b/core/lib/Drupal/Component/Archiver/Zip.php @@ -24,10 +24,14 @@ protected $zip; /** - * Constructs a Tar object. + * Constructs a Zip object. * * @param string $file_path - * The full system path of the archive to manipulate. + * The full system path of the archive to manipulate. Only local files + * are supported. If the file does not yet exist, it will be created if + * appropriate. + * + * @throws Drupal\Component\Archiver\ArchiverException */ public function __construct($file_path) { $this->zip = new ZipArchive(); diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php index 9c4f8fc..ee1df76 100644 --- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php @@ -55,14 +55,6 @@ const CACHE_PERMANENT = 0; /** - * Constructs a new cache backend. - * - * @param $bin - * The cache bin for which the object is created. - */ - public function __construct($bin); - - /** * Returns data from the persistent cache. * * Data may be stored as either plain text or as serialized data. cache_get() diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php index 9ab6b11..5069efa 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -29,7 +29,10 @@ protected static $tagCache = array(); /** - * Implements Drupal\Core\Cache\CacheBackendInterface::__construct(). + * Constructs a DatabaseBackend object. + * + * @param $bin + * The cache bin for which the object is created. */ public function __construct($bin) { // All cache tables should be prefixed with 'cache_', except for the diff --git a/core/lib/Drupal/Core/Cache/MemoryBackend.php b/core/lib/Drupal/Core/Cache/MemoryBackend.php index b17e06b..43f2946 100644 --- a/core/lib/Drupal/Core/Cache/MemoryBackend.php +++ b/core/lib/Drupal/Core/Cache/MemoryBackend.php @@ -29,7 +29,10 @@ protected $invalidatedTags = array(); /** - * Implements Drupal\Core\Cache\CacheBackendInterface::__construct(). + * Constructs a MemoryBackend object. + * + * @param $bin + * The cache bin for which the object is created. */ public function __construct($bin) { } diff --git a/core/lib/Drupal/Core/Cache/NullBackend.php b/core/lib/Drupal/Core/Cache/NullBackend.php index ee8b1d3..830aa49 100644 --- a/core/lib/Drupal/Core/Cache/NullBackend.php +++ b/core/lib/Drupal/Core/Cache/NullBackend.php @@ -21,7 +21,10 @@ class NullBackend implements CacheBackendInterface { /** - * Implements Drupal\Core\Cache\CacheBackendInterface::__construct(). + * Constructs a NullBackend object. + * + * @param $bin + * The cache bin for which the object is created. */ public function __construct($bin) {} diff --git a/core/lib/Drupal/Core/Entity/DatabaseStorageController.php b/core/lib/Drupal/Core/Entity/DatabaseStorageController.php index 6342502..1cd14c0 100644 --- a/core/lib/Drupal/Core/Entity/DatabaseStorageController.php +++ b/core/lib/Drupal/Core/Entity/DatabaseStorageController.php @@ -104,10 +104,12 @@ */ protected $cache; + /** - * Implements Drupal\Core\Entity\EntityStorageControllerInterface::__construct(). + * Constructs a new EntityStorageController object. * - * Sets basic variables. + * @param $entityType + * The entity type for which the instance is created. */ public function __construct($entityType) { $this->entityType = $entityType; diff --git a/core/lib/Drupal/Core/Entity/EntityFormController.php b/core/lib/Drupal/Core/Entity/EntityFormController.php index c4ebe28..f75015f 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormController.php +++ b/core/lib/Drupal/Core/Entity/EntityFormController.php @@ -23,7 +23,10 @@ protected $operation; /** - * Implements Drupal\Core\Entity\EntityFormControllerInterface::__construct(). + * Constructs an EntityFormController object. + * + * @param string $operation + * The name of the current operation. */ public function __construct($operation) { $this->operation = $operation; diff --git a/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php b/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php index 72c97f1..26a227d 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityFormControllerInterface.php @@ -13,14 +13,6 @@ interface EntityFormControllerInterface { /** - * Constructs the object. - * - * @param string $operation - * The name of the current operation. - */ - public function __construct($operation); - - /** * Builds an entity form. * * This is the entity form builder which is invoked via drupal_build_form() diff --git a/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php b/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php index 153cd80..2dcf682 100644 --- a/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php @@ -21,14 +21,6 @@ interface EntityStorageControllerInterface { /** - * Constructs a new Drupal\Core\Entity\EntityStorageControllerInterface object. - * - * @param $entityType - * The entity type for which the instance is created. - */ - public function __construct($entityType); - - /** * Resets the internal, static entity cache. * * @param $ids diff --git a/core/lib/Drupal/Core/Queue/Memory.php b/core/lib/Drupal/Core/Queue/Memory.php index d741bda..c4384dd 100644 --- a/core/lib/Drupal/Core/Queue/Memory.php +++ b/core/lib/Drupal/Core/Queue/Memory.php @@ -32,7 +32,10 @@ protected $idSequence; /** - * Implements Drupal\Core\Queue\QueueInterface::__construct(). + * Creates a Memory object. + * + * @param $name + * An arbitrary string. The name of the queue to work with. */ public function __construct($name) { $this->queue = array(); diff --git a/core/lib/Drupal/Core/Queue/QueueInterface.php b/core/lib/Drupal/Core/Queue/QueueInterface.php index e3e9350..8e7e22c 100644 --- a/core/lib/Drupal/Core/Queue/QueueInterface.php +++ b/core/lib/Drupal/Core/Queue/QueueInterface.php @@ -14,13 +14,6 @@ * in messages and to execute them at least once. */ interface QueueInterface { - /** - * Initializes a new queue object. - * - * @param $name - * An arbitrary string. The name of the queue to work with. - */ - public function __construct($name); /** * Adds a queue item and store it directly to the queue. diff --git a/core/lib/Drupal/Core/Queue/System.php b/core/lib/Drupal/Core/Queue/System.php index 6deab47..7079d8b 100644 --- a/core/lib/Drupal/Core/Queue/System.php +++ b/core/lib/Drupal/Core/Queue/System.php @@ -19,7 +19,10 @@ protected $name; /** - * Implements Drupal\Core\Queue\QueueInterface::__construct(). + * Creates a System object. + * + * @param $name + * An arbitrary string. The name of the queue to work with. */ public function __construct($name) { $this->name = $name; diff --git a/core/lib/Drupal/Core/TypedData/Type/TypedData.php b/core/lib/Drupal/Core/TypedData/Type/TypedData.php index 6afc860..d30ca8e 100644 --- a/core/lib/Drupal/Core/TypedData/Type/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/Type/TypedData.php @@ -25,7 +25,12 @@ protected $definition; /** - * Implements TypedDataInterface::__construct(). + * Creates a typed data object given its definition. + * + * @param array $definition + * The data definition. + * + * @see Drupal\Core\TypedData\TypedDataManager::create() */ public function __construct(array $definition) { $this->definition = $definition; diff --git a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php index 680b92e..1a8ffe7 100644 --- a/core/lib/Drupal/Core/TypedData/TypedDataInterface.php +++ b/core/lib/Drupal/Core/TypedData/TypedDataInterface.php @@ -15,16 +15,6 @@ interface TypedDataInterface { /** - * Creates a typed data object given its definition. - * - * @param array $definition - * The data definition. - * - * @see Drupal\Core\TypedData\TypedDataManager::create() - */ - public function __construct(array $definition); - - /** * Gets the data type. * * @return string