public function createPosting(AccountInterface $account = null, $amount = null)
    {
        $posting = new $this->postingFqcn($account, $amount);
        $posting->setOrganization($this->oh->getOrganization());

        return $posting;
    }
public function createPosting(AccountInterface $account = null, $amount = null)
    {
        $posting = new $this->postingFqcn($account, $amount);
        $posting->setOrganization($this->oh->getOrganization());

        return $posting;
    }
public function createPosting ( AccountInterface $ account = null , $ amount = null ) { $ posting = new $ this -> postingFqcn ( $ account , $ amount ) ; $ posting -> setOrganization ( $ this -> oh -> getOrganization ( ) ) ; return $ posting ; }
Create new Posting

@author Tom Haskins-Vaughan <tom@tomhv.uk>
@since  0.8.0

@param  AccountInterface $account
@param  float            $amount

@return Posting
Create new Posting