src/Faker.php
public function getFaker()
    {
        if (is_null($this->faker) && class_exists($this->fakerClass)) {
            $this->faker = call_user_func("$this->fakerClass::create");
        }

        return $this->faker;
    }
public function getFaker()
    {
        if (is_null($this->faker) && class_exists($this->fakerClass)) {
            $this->faker = call_user_func("$this->fakerClass::create");
        }

        return $this->faker;
    }
public function getFaker ( ) { if ( is_null ( $ this -> faker ) && class_exists ( $ this -> fakerClass ) ) { $ this -> faker = call_user_func ( "$this->fakerClass::create" ) ; } return $ this -> faker ; }
Instantiate and get Faker.

@return \Faker\Generator|null
Instantiate and get Faker .