PartHeaderContainerFactory
in package
Creates PartHeaderContainer instances.
Tags
Table of Contents
- $headerFactory : HeaderFactory
- $logger : LoggerInterface
- __construct() : mixed
- Constructor
- newInstance() : PartHeaderContainer
- Creates and returns a PartHeaderContainer.
Properties
$headerFactory
protected
HeaderFactory
$headerFactory
the HeaderFactory passed to HeaderContainer instances.
$logger
protected
LoggerInterface
$logger
Methods
__construct()
Constructor
public
__construct(LoggerInterface $logger, HeaderFactory $headerFactory) : mixed
Parameters
- $logger : LoggerInterface
- $headerFactory : HeaderFactory
Return values
mixed —newInstance()
Creates and returns a PartHeaderContainer.
public
newInstance([PartHeaderContainer|null $from = null ]) : PartHeaderContainer
Parameters
- $from : PartHeaderContainer|null = null