Back to JoomlaSerializer class

Method __construct

public
__construct
(string $type)
Constructor.
Parameters
  • string $type The content type to be loaded
Since
  • 4.0.0

Method __construct - Source code

/**
 * Constructor.
 *
 * @param   string  $type  The content type to be loaded
 *
 * @since 4.0.0
 */
public function __construct(string $type)
{
    $this->type = $type;
}