Form/DataTransformer/DataTransformerFactory.php
public function createRepositoryTransformer(string $alias) : DataTransformerInterface
    {
        if (!$this->collection->has($alias)) {
            throw new MissingFormDataTransformerException($alias);
        }

        $serviceId = $this->collection->get($alias);

        return $this->get($serviceId);
    }
public function createRepositoryTransformer(string $alias) : DataTransformerInterface
    {
        if (!$this->collection->has($alias)) {
            throw new MissingFormDataTransformerException($alias);
        }

        $serviceId = $this->collection->get($alias);

        return $this->get($serviceId);
    }
public function createRepositoryTransformer ( string $ alias ) : DataTransformerInterface { if ( ! $ this -> collection -> has ( $ alias ) ) { throw new MissingFormDataTransformerException ( $ alias ) ; } $ serviceId = $ this -> collection -> get ( $ alias ) ; return $ this -> get ( $ serviceId ) ; }
Creates and returns a new instance of form data transformer

@param string $alias

@return DataTransformerInterface
Creates and returns a new instance of form data transformer