classes/phing/PropertyHelper.php
public static function getPropertyHelper(Project $project)
    {
        /**
         * @var PropertyHelper $helper
         */
        $helper = $project->getReference('phing.PropertyHelper');
        if ($helper !== null) {
            return $helper;
        }
        $helper = new self();
        $helper->setProject($project);

        $project->addReference('phing.PropertyHelper', $helper);
        return $helper;
    }
public static function getPropertyHelper(Project $project)
    {
        /**
         * @var PropertyHelper $helper
         */
        $helper = $project->getReference('phing.PropertyHelper');
        if ($helper !== null) {
            return $helper;
        }
        $helper = new self();
        $helper->setProject($project);

        $project->addReference('phing.PropertyHelper', $helper);
        return $helper;
    }
public static function getPropertyHelper ( Project $ project ) { /**
         * @var PropertyHelper $helper
         */ $ helper = $ project -> getReference ( 'phing.PropertyHelper' ) ; if ( $ helper !== null ) { return $ helper ; } $ helper = new self ( ) ; $ helper -> setProject ( $ project ) ; $ project -> addReference ( 'phing.PropertyHelper' , $ helper ) ; return $ helper ; }
Factory method to create a property processor.
Users can provide their own or replace it using "ant.PropertyHelper"
reference. User tasks can also add themselves to the chain, and provide
dynamic properties.

@param Project $project the project fro which the property helper is required.

@return PropertyHelper the project's property helper.
Factory method to create a property processor . Users can provide their own or replace it using ant . PropertyHelper reference . User tasks can also add themselves to the chain and provide dynamic properties .